﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="billAvgTime.aspx.cs" Inherits="WorkOrder.workBill.billAvgTime" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>工单历时分析_工单管理支持系统</title>
    <link href="../css/left.css" type="text/css" rel="STYLESHEET" />
    <link href="../css/site2.css" type="text/css" rel="STYLESHEET" />
    <style type="text/css">
        .style1
        {
            border: 1px solid #4f93e3;
            width: 100px;
        }
    </style>
    <script language="javascript" type="text/javascript">        //加在head中，PNG无灰色背景
        var tmp = window.navigator.userAgent.toLowerCase().indexOf("MSIE");
        //加在head中，PNG无灰色背景
        function correctPNG() {
            for (var i = 0; i < document.images.length; i++) {
                var img = document.images[i];
                var imgName = img.src.toUpperCase();
                if (imgName.substring(imgName.length - 3, imgName.length) == "PNG") {
                    var imgID = (img.id) ? "id='" + img.id + "' " : "";
                    var imgClass = (img.className) ? "class='" + img.className + "' " : "";
                    var imgTitle = (img.title) ? "title='" + img.title + "' " : "title='" + img.alt + "' ";
                    var imgStyle = "display:inline-block;" + img.style.cssText;
                    if (img.align == "left") imgStyle = "float:left;" + imgStyle;
                    if (img.align == "right") imgStyle = "float:right;" + imgStyle;
                    if (tmp >= 1) {
                        if (img.parentElement.href) imgStyle = "cursor:hand;" + imgStyle;
                    }
                    else {
                        if (img.parentNode.href) imgStyle = "cursor:hand;" + imgStyle;
                    }
                    var strNewHTML = "<span " + imgID + imgClass + imgTitle + " style=\"" + "width:" + img.width + "px; height:" + img.height + "px;" + imgStyle + ";"
       + "filter:progid:DXImageTransform.Microsoft.AlphaImageLoader" + "(src=\'" + img.src + "\', sizingMethod='scale');\"></span>";
                    img.outerHTML = strNewHTML;

                }
            }
        }

        if (window.addEventListener) {
            window.addEventListener('DOMContentLoaded', correctPNG, false);   //firefox
            window.addEventListener('load', correctPNG, false);
        } else if (window.attachEvent) {
            window.attachEvent('onload', correctPNG);  //IE
        }
    </script>
    <script type="text/javascript" src="../DatePicker/WdatePicker.js" defer="defer"></script>
</head>
<body style="margin: 0 0 0 0; background-color: #fff; border-left: solid 1px #54a6e2;">
    <form id="form1" runat="server">
    <div>
        <table id="weizhi" width="100%;" style="border: none 0;">
            <tr>
                <td style="height: 2px;">
                </td>
            </tr>
            <tr>
                <td style="border: solid 1px #9fd6ff; background-image: url('../images/snap3.jpg');
                    height: 24px; color: #0930a5;">
                    &nbsp;&nbsp;<img align="absmiddle" src="../images/doc3.gif" />&nbsp;&nbsp;当前位置：工单历时分析&nbsp;&nbsp;（已减去休息日）
                </td>
            </tr>
            <tr>
                <td style="height: 1px;">
                </td>
            </tr>
        </table>
        <table width="100%;" style="border: none 0;">
            <tr>
                <td style="border: solid 1px #9fd6ff; background-color: #f0f8ff">
                    <table style="width: 100%">
                        <tr>
                            <td style="width: 10px;">
                            </td>
                            <td>
                                <table id="tab20" style="border: none">
                                    <tr>
                                        <td align="left">
                                            完成时间：
                                        </td>
                                        <td>
                                            <input type="text" class="TextBox" id="txtStartF" style="width: 125px;" runat="server"
                                                onfocus="WdatePicker({skin:'whyGreen',readOnly:'true'});" />
                                        </td>
                                        <td>
                                            &nbsp;至&nbsp;
                                        </td>
                                        <td>
                                            <input type="text" class="TextBox" id="txtEndF" style="width: 125px;" runat="server"
                                                onfocus="WdatePicker({skin:'whyGreen',readOnly:'true'});" />
                                        </td>
                                        <td>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="left">
                                            派单时间：
                                        </td>
                                        <td>
                                            <input type="text" class="TextBox" id="txtStartC" style="width: 125px;" runat="server"
                                                onfocus="WdatePicker({skin:'whyGreen',readOnly:'true'});" />
                                        </td>
                                        <td>
                                            &nbsp;至&nbsp;
                                        </td>
                                        <td>
                                            <input type="text" class="TextBox" id="txtEndC" style="width: 125px;" runat="server"
                                                onfocus="WdatePicker({skin:'whyGreen',readOnly:'true'});" />
                                        </td>
                                        <td>
                                            &nbsp;&nbsp;&nbsp;&nbsp;<input id="Button1" runat="server" type="button" value="查  询"
                                                class="Button" onserverclick="btnSearch_ServerClick" />
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
        <table style="width: 100%">
            <tr>
                <td>
                    <div style="border: solid 1px #9fd6ff; background-color: #d4f1f9; border-bottom: none;">
                        <table style="width: 100%; font-family: Arial">
                            <tr>
                                <td style="height: 20px;">
                                    &nbsp;&nbsp;<img alt="" align="absmiddle" src="../images/181.gif" />&nbsp; <strong>查询结果</strong>
                                </td>
                                <td style="width: 120px">
                                </td>
                            </tr>
                        </table>
                    </div>
                    <div id="divgv" style="border: solid 1px #9fd6ff; background-color: #f0f8ff;">
                        <table width="100%">
                            <tr>
                                <td style="width: 10px;">
                                </td>
                                <td>
                                    <div id="gv" style="border: solid 1px #9fd6ff; overflow: auto; width: 100%">
                                        <table>
                                            <tr>
                                                <td style="vertical-align: middle; font-size: 12pt;">
                                                    <strong>工单平均历时（从派单时间开始计算）</strong>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td style="vertical-align: top;">
                                                    <table runat="server" id="tab1" cellspacing="0" cellpadding="5" rules="all" style="border-collapse: collapse;
                                                        border: solid 1px #4f93e3; text-align: center; font: 9pt Arial; background: #fff;">
                                                        <tr style="font-weight: bold">
                                                            <td class="style1">
                                                                产品类型
                                                            </td>
                                                            <td class="style1">
                                                                开通
                                                            </td>
                                                            <td class="style1">
                                                                调整
                                                            </td>
                                                            <td class="style1">
                                                                取消
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td class="style1">
                                                                语音专线
                                                            </td>
                                                            <td class="style1">
                                                            </td>
                                                            <td class="style1">
                                                            </td>
                                                            <td class="style1">
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td class="style1">
                                                                数据专线
                                                            </td>
                                                            <td class="style1">
                                                            </td>
                                                            <td class="style1">
                                                            </td>
                                                            <td class="style1">
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td class="style1">
                                                                电路租用
                                                            </td>
                                                            <td class="style1">
                                                            </td>
                                                            <td class="style1">
                                                            </td>
                                                            <td class="style1">
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td class="style1">
                                                                GPRS专线
                                                            </td>
                                                            <td class="style1">
                                                            </td>
                                                            <td class="style1">
                                                            </td>
                                                            <td class="style1">
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td class="style1">
                                                                企业信息机
                                                            </td>
                                                            <td class="style1">
                                                            </td>
                                                            <td class="style1">
                                                            </td>
                                                            <td class="style1">
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td class="style1">
                                                                短信直连
                                                            </td>
                                                            <td class="style1">
                                                            </td>
                                                            <td class="style1">
                                                            </td>
                                                            <td class="style1">
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td style="height: 15px;">
                                                </td>
                                            </tr>
                                            <tr>
                                                <td style="vertical-align: middle; font-size: 12pt;">
                                                    <strong>工单平均历时（从CRM资源确认时间开始计算）</strong>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td style="vertical-align: top;">
                                                    <table runat="server" id="tab2" cellspacing="0" cellpadding="5" rules="all" style="border-collapse: collapse;
                                                        border: solid 1px #4f93e3; text-align: center; font: 9pt Arial; background: #fff;">
                                                        <tr style="font-weight: bold">
                                                            <td class="style1">
                                                                产品类型
                                                            </td>
                                                            <td class="style1">
                                                                开通
                                                            </td>
                                                            <td class="style1">
                                                                调整
                                                            </td>
                                                            <td class="style1">
                                                                取消
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td class="style1">
                                                                语音专线
                                                            </td>
                                                            <td class="style1">
                                                            </td>
                                                            <td class="style1">
                                                            </td>
                                                            <td class="style1">
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td class="style1">
                                                                数据专线
                                                            </td>
                                                            <td class="style1">
                                                            </td>
                                                            <td class="style1">
                                                            </td>
                                                            <td class="style1">
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td class="style1">
                                                                电路租用
                                                            </td>
                                                            <td class="style1">
                                                            </td>
                                                            <td class="style1">
                                                            </td>
                                                            <td class="style1">
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td class="style1">
                                                                GPRS专线
                                                            </td>
                                                            <td class="style1">
                                                            </td>
                                                            <td class="style1">
                                                            </td>
                                                            <td class="style1">
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td class="style1">
                                                                企业信息机
                                                            </td>
                                                            <td class="style1">
                                                            </td>
                                                            <td class="style1">
                                                            </td>
                                                            <td class="style1">
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td class="style1">
                                                                短信直连
                                                            </td>
                                                            <td class="style1">
                                                            </td>
                                                            <td class="style1">
                                                            </td>
                                                            <td class="style1">
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </td>
                                            </tr>
                                        </table>
                                    </div>
                                </td>
                            </tr>
                            <tr>
                                <td style="width: 10px;">
                                    &nbsp;
                                </td>
                                <td>
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td style="width: 10px;">
                                    &nbsp;
                                </td>
                                <td>
                                </td>
                            </tr>
                        </table>
                    </div>
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
